<template>
	<div class="login">
<van-button type="success">成功按钮</van-button>

		<div class="title">登录开启专属个人主页</div>
		<div class="agreement">
			<span class="right">
			</span>
			<div>已阅读并同意 <span>用户协议</span> 和 <span>隐私政策</span></div>
		</div>
		<div class="login-pic">
			<img src="@/static/login/qqlogin.png" alt="">
		</div>
		<div class="login-btn">QQ授权登录</div>
	</div>
</template>

<script>
	export default {
		data() {
			return {};
		},
		methods: {
			login(e) {
				console.log("得到账号:"+ e.detail.value.nameValue + ';得到密码:' + e.detail.value.passwordValue)
			},
			register() {
				console.log("前往注册页面")
			}
		}
	}
</script>

<style lang="postcss" scoped>
	.login {
		min-height: 100vh;
		width: 100vh;
		background: url(@/static/login/loginbg.png) center center no-repeat;
		background-size: cover;
		display: flex;
		align-items: center;
		flex-direction: column;
		font-family: "Source Han Sans";
		.title {
			color: #FFFFFF;
			font-size:40upx;
			margin-top:240upx;
		}
		.agreement {
			color: #9CA0A3;
			font-size: 24upx;
			margin-top: 10upx;
			display: flex;
			align-items: center;
			span {
				color: #fff;
				padding:0 10upx;
			}
			.right {
				width: 20upx;
				height: 20upx;
				border: 1px solid #ffffff;
				border-radius: 20upx;
				padding: 0;
				display: inline-block;
				vertical-align: sub;
				margin-right: 10upx;
			}
		}
		.login-pic {
			width: 120upx;
			margin-top: 144upx;
			img {
				width: 100%;
				display:block;
			}
		}
		.login-btn {
			width: 596upx;
			height: 84upx;
			display: flex;
			align-items: center;
			justify-content: center;
			border-radius: 379px;
			color: #fff;
			background: linear-gradient(270deg, #4396f7 0%, #00ffe5 100%);
			margin-top: 128upx;
		}
	
	}
</style>